import * as API from '@/api/common/index.js'

export async function getBnners(params) {              //获取用户权限账号
    return  await API.GET("/v1/flash/banners",params)
};
export async function deleteBnners(params) {              //获取用户权限账号
    return  await API.DELETE("/v1/flash/banners",params)
};

export async function getUpdata(params) {              //获取用户权限账号
    return  await API.GET("/v1/flash/versions",params)
};

export async function changeUpdata(params) {              //获取用户权限账号
    return  await API.GET("/v1/flash/versions/switch/"+params)
};

export async function getUpdataOne(params) {              //获取用户权限账号
    return  await API.GET("/v1/flash/versions/latest",params)
};


